<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery-3.1.0.js"></script>
<script type="text/javascript">
function empty(){
	var x=$("#name").val();
	if(x == ""){
		alert("您必须输入品牌名称");
		return false;
	}
}
</script>
<title>添加品牌</title>
<style type="text/css">
* {
	margin: 0px;
	padding: 0px;
}
body{
background: #e8e8e8;
}
.t4 {
	height: 26px;
	line-height: 26px;
	padding: 0 10px 0 13px;
	background: #0099FF;
	border-radius: 3px;
	color: #fff;
	font-size: 13px;
	font-weight: normal;
	text-align: center;
	cursor: pointer;
	text-decoration: none;
	margin-right: 20px;
	border: none;
}
.t5 {
	background: #e8e8e8;
	border: 0px red solid;
	height: 70px;
}

.t6 {
	padding-top: 20px;
	font-size: 18px;
	border-bottom: 1px solid #ccc;
}
.t7 {
	float: right;
	height: 26px;
	line-height: 26px;
	padding: 0 10px 0 13px;
	background: #0099FF;
	border-radius: 3px;
	color: #fff;
	font-size: 13px;
	font-weight: normal;
	text-align: center;
	cursor: pointer;
	text-decoration: none;
	margin-right: 20px;
}
a:HOVER{

}
.main-div {
    background: #f3f3f3 url("../images/th_bg.gif") repeat-x;
    border: 1px solid #ddd;

}
.main-div table {
    background: #FFF;
    border-top: 10px solid #FFF;
    border-bottom: 10px solid #FFF;
    width: 100%;
}
tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}
tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}
td.label {
    text-align: right;
    vertical-align: top;
    font-weight: bold;
    padding: 5px 1em;
    width: 30%;
    line-height: 30px;
}
span.require-field {
    margin-left: 1em;
    font: 12px verdana;
    color: #FF0000;
}
p, td, div {
    font: 12px Microsoft Yahei, "sans-serif", "Arial", "Verdana";
}
</style>
</head>
<body>
	<div class="t5">
		<h1 class="t6">
			小熊猫 管理中心—添加品牌 <a href="BrandSerclet?curpage=1&pagesize=5" class="t7">商品品牌</a>
		</h1>
	</div>
	<div class="main-div">
<form  action="AddBrand"  onsubmit="return empty()">
<table cellspacing="1" cellpadding="3" width="100%">
  <tbody>
  <tr>
    <td class="label">品牌名称</td>
    <td><input type="text" id="name" name="brand_name" maxlength="60" value="${param.name}"><span class="require-field">*</span></td>
  </tr>
  <tr>
    <td class="label">品牌网址</td>
    <td><input type="text" name="brand_url" maxlength="60" size="40" value="http://"></td>
  </tr>
  <tr>
    <td class="label">品牌描述</td>
    <td><textarea name="brand_desc" cols="60" rows="4"></textarea></td>
  </tr>
  <tr>
    <td colspan="2" align="center"><br>
      <input type="submit"  class="t4" value=" 确定 ">
      <input type="reset" class="t4" value=" 重置 ">
    </td>
  </tr>
</tbody></table>
</form>
</div>
</body>
</html>